package patterns.behavior.status;

public class BookContext {


    public patterns.behavior.status.BookStatus KJC = new patterns.behavior.status.BookStatusKJC();
    public patterns.behavior.status.BookStatus END = new patterns.behavior.status.BooKStatusEND();
    public patterns.behavior.status.BookStatus INIT = new patterns.behavior.status.BooKStatusINIT();
    public patterns.behavior.status.BookStatus JC = new patterns.behavior.status.BooKStatusJC();
    public patterns.behavior.status.BookStatus XJ = new patterns.behavior.status.BooKStatusXJ();
    public patterns.behavior.status.BookStatus YY = new patterns.behavior.status.BooKStatusYY();



    private patterns.behavior.status.BookStatus bookStatus;


    public BookContext(){}

    public BookContext(patterns.behavior.status.BookStatus bookStatus){
        this.bookStatus = bookStatus;
    }

    public patterns.behavior.status.BookStatus getBookStatus() {
        return bookStatus;
    }

    public void setBookStatus(patterns.behavior.status.BookStatus bookStatus) {
        this.bookStatus = bookStatus;
    }

    void rk() {
        bookStatus.rk(this);
    }

    void pshds() {
        bookStatus.pshds(this);
    }

    void ck() {
        bookStatus.ck(this);
    }

    void yd() {
        bookStatus.yd(this);
    }

    void qxyd() {
        bookStatus.qxyd(this);
    }

    void ydgq() {
        bookStatus.ydgq(this);
    }

    void jc() {
        bookStatus.jc(this);
    }

    void gh() {
        bookStatus.gh(this);
    }

}
